<%@ Page Language="C#" MasterPageFile="gallery.master" AutoEventWireup="true" CodeFile="ViewPhotoEffects.aspx.cs"
  Inherits="admin_viewphotoeffects" Title="Photo Effects" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" runat="Server">
  <h1>
    Photo Effects
  </h1>
  <asp:DataList ID="PhotoEffectsContent" runat="Server" CssClass="photoeffects" RepeatColumns="1"
    RepeatDirection="Horizontal" EnableViewState="False" AlternatingItemStyle-BorderColor="lightgray">
    <HeaderTemplate>
      <table width="100%">
    </HeaderTemplate>
    <ItemTemplate>
      <tr>
        <td>
          <b>Title:</b>
          <%# DataBinder.Eval(Container.DataItem, "Title")%>
          <br />
          <b>Effect:</b>
          <%# DataBinder.Eval(Container.DataItem, "PhotoEffectName")%>
          <br />
          <br />
          <img src="icons/layers_edit.png" align="absmiddle" />
          <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "admin/gallery/EditPhotoEffect.aspx?PhotoEffectId="%><%# DataBinder.Eval(Container.DataItem, "Id")%>">
            Edit Photo Effect</a><br />
          <img src="icons/layers_delete.png" align="absmiddle" />
          <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "admin/gallery/DeletePhotoEffect.aspx?PhotoEffectId="%><%# DataBinder.Eval(Container.DataItem, "Id")%>">
            Delete Photo Effect</a>
        </td>
      </tr>
    </ItemTemplate>
    <FooterTemplate>
      </table>
    </FooterTemplate>
  </asp:DataList>
</asp:Content>
